<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>我要考试</title>
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">

        <link rel="stylesheet" href="exam.css">
        <link rel="stylesheet" href="../public_css/public_header.css">

        <script src="../public/jquery.min.js"></script>
        <script src="../public/layer.js"></script>
    </head>
    <body>
        <header class=" public_header">
            <div class="public_header_return">
                <img src="../public_img/return.png" alt="" class="public_header_return" onclick="history.back(-1)">
                <p>我要考试</p>
            </div>
        </header>

        <div class="content" >
            <p onclick="window.location.href='http://gab.122.gov.cn/app/m/static/page/download/download.html'"><img src="img/exam1.png" alt=""></p>
            <p>自主报名下载12123APP <br> 或者 <br> 进入网址报名：http://sc122.gov.cn/</p>
        </div>

        <div class="service">
            <p onclick="window.location.href='tel:15680509893'">客服电话：15680509893</p>
            <p>客服QQ：742462146</p>
        </div>






        <script>
            /*监听手机返回键*/
            document.addEventListener("plusready", function() {
                // 注册返回按键事件
                plus.key.addEventListener('backbutton', function() {
                    window.history.back();
                }, false);
                //此处false代表不退出页面，如果为true回退到上一个一面
            });


            /*动态获取html根字体*/
            $(function(){
                //设置根元素字体
                setFontSize();
            });
            //设置根元素字体
            var win = window,
                doc = document;
            function setFontSize() {
                var winWidth = $(window).width();

                //750这个数字是根据你的设计图的实际大小来的，所以值具体根据设计图的大小
                var size = (winWidth /1080) * 100;
                doc.documentElement.style.fontSize = (size < 100 ? size : 100) + 'px';
            }

        </script>
    </body>
</html>
